# -*- coding:utf-8 -*-
# !usr/bin/env python

import os.path


def read_setting(param):
    with open(os.path.join(os.path.dirname(__file__),'config.conf')) as f:
        lines = f.readlines()
        for line in lines:
            cmd = line.split('=')
            if cmd[0] == param:
                return cmd[1].rstrip('\n')
